﻿using BridgeModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BridgeUnit
{
    class Program
    {
        static void Main(string[] args)
        {
            Shape shape = new Triangle(new OperationalDP1(), 3);
            shape.Draw();
            shape = new Triangle(new OperationalDP2(), 3);
            shape.Draw();
            shape = new Retangle(new OperationalDP1(), 2, 3);
            shape.Draw();
            shape = new Retangle(new OperationalDP2(), 2, 3);
            shape.Draw();
            Console.Read();
        }
    }
}
